<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
	"http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<script type="text/javascript"  src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
		<script type="text/javascript"  src="cookieNotice.js"></script>
		<script type="text/javascript"  src="jquery.cookie.js"></script>
		<script type="text/javascript">
			jQuery(function($){
				$().cookieNotice({
					title: 'I-COM Cookie Policy',
					subText: 'We use cookies but they\'re harmless.  Follow the link to read more',
					url: 'http://www.i-com.net/privacy/'
				});
				
				$('#title,#subtitle,#url').change(function(){
					$('#code').val(
						'<script type="text/javascript"  src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"><\/script><script type="text/javascript"  src="http://i-com.net/cookie-notice/jquery.cookie.js"><\/script><script type="text/javascript"  src="cookieNotice.js"><\/script>'+
						'<script type="text/javascript">jQuery(function($){$().cookieNotice({title: "'+$('#title').val()+'",subtitle: "'+$('#subtitle').val()+'",url: "'+$('#url').val()+'"});});<\/script>');
				});
				
				$('#title').trigger('change');
				
				$("#code").focus(function() {
				    $this = $(this);
				    $this.select();
				
				    $this.mouseup(function() {
				        $this.unbind("mouseup");
				        return false;
				    });
				});
				
			});	
		</script>
	</head>
	<body>
		<div style="width:960px;background:#efefef;margin:0px auto; height:1000px;">
			<label>Title</label><br />
			<input name="title" id="title" value="I-COM Cookie Policy">
			<br /><br />
			<label>Sub Text</label><br />
			<input name="subtitle" id="subtitle" value="We use cookies but they're harmless.  Follow the link to read more">
			<br /><br />
			<label>Url</label><br />
			<input name="url" id="url" value="http://www.i-com.net/privacy/">
			<br /><br />
			<label>Your Code (paste this into the head of your page)</label><br />
			<textarea id="code"></textarea>
		</div>
	</body>
</html>